package com.summer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.summer.entity.Dish;
import com.summer.entity.DishDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DishMapper extends BaseMapper<Dish> {

    List<DishDto> getByPageAndCondition(@Param("page") int page,@Param("pageSize") int pageSize,@Param("name") String name);
}
